package com.woniu.cq.medical.service;

import com.woniu.cq.medical.controller.form.PrescriptionForm;
import com.woniu.cq.medical.entity.PrescriptionInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lucas
 * @since 2020-09-08
 */
public interface PrescriptionInfoService extends IService<PrescriptionInfo> {

    /**
     * 新增处方的方法
     * 参数：prescriptionData 处方详情的集合
     * prescriptionId 处方的ID
     */
    void insertPrescriptionInfo(List<PrescriptionForm> prescriptionData,Integer prescriptionId);

}
